package com.ejiaoyi.api.model.block;

/**
 * 功能描述：
 *
 * @Created by 2019-10-14 10:37
 */
public class BlockResultBean {

    private String blockHash;//块Hash

    private Long blockNumber;//块号

    private String preBlockHash;//上一个块Hash

    private Long blockSize;//块大小

    private Integer blockTxCount;//当前块的交易数量

    public String getBlockHash() {
        return blockHash;
    }

    public void setBlockHash(String blockHash) {
        this.blockHash = blockHash;
    }

    public Long getBlockNumber() {
        return blockNumber;
    }

    public void setBlockNumber(Long blockNumber) {
        this.blockNumber = blockNumber;
    }

    public String getPreBlockHash() {
        return preBlockHash;
    }

    public void setPreBlockHash(String preBlockHash) {
        this.preBlockHash = preBlockHash;
    }

    public Long getBlockSize() {
        return blockSize;
    }

    public void setBlockSize(Long blockSize) {
        this.blockSize = blockSize;
    }

    public Integer getBlockTxCount() {
        return blockTxCount;
    }

    public void setBlockTxCount(Integer blockTxCount) {
        this.blockTxCount = blockTxCount;
    }


    @Override
    public String toString() {
        return "BlockResultBean{" +
                "blockHash='" + blockHash + '\'' +
                ", blockNumber=" + blockNumber +
                ", preBlockHash='" + preBlockHash + '\'' +
                ", blockSize=" + blockSize +
                ", blockTxCount=" + blockTxCount +
                '}';
    }
}
